package cl.sujey.arrays.tateti;

import static org.junit.Assert.*;
import org.junit.Test;


public class TaTeTiTest {

	@Test
    public void testIsOver01() throws Exception {
        TaTeTi taTeTi = new TaTeTi(new byte[][]{{0, 0, 1}, {0, 0, 1}, {0, 0, 1}});

        assertTrue(taTeTi.isOver());
    }

	@Test
    public void testIsOver02() throws Exception {
        TaTeTi taTeTi = new TaTeTi(new byte[][]{{0, 0, 1}, {0, 1, 0}, {1, 0, 0}});

        assertTrue(taTeTi.isOver());
    }

	@Test
    public void testIsOver03() throws Exception {
        TaTeTi taTeTi = new TaTeTi(new byte[][]{{1, 1, 1}, {0, 0, 0}, {0, 0, 0}});

        assertTrue(taTeTi.isOver());
    }

	@Test
    public void testIsOver04() throws Exception {
        TaTeTi taTeTi = new TaTeTi(new byte[][]{{0, 0, 0}, {1, 1, 1}, {0, 0, 0}});

        assertTrue(taTeTi.isOver());
    }
}
